package lab02.test14;

public class Test14 {
    public static void main(String[] args)
    {

        Rectangle R=new Rectangle();
        R.width=4;
        R.lenght=7;
        System.out.println("矩形的面积为"+R.getArea());
        Circle C=new Circle();
        C.radius=4;
        System.out.println("圆的面积为"+C.getArea());
    }


}
